get /cloud/gcp/regions

List gcp Regions (getGcpRegions)

Lists the gcp Regions.

Consumes

This API call consumes the following media types via the Content-Type request header:

  • application/json

 

Query parameters

credentialsName (required)

Query Parameter — Cloud credentials name

projectId (required)

Query Parameter — project id

 

Return type

array[Region]

id (optional)

String Region ID

name (optional)

String Region name

 

Example data

Content-Type: application/json

[

{

"name" : "EU (Ireland)",

"id" : "eu-west-1"

}

]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

  • application/json

Responses

200

OK

Default

Error ErrorInfo

errorCode (optional)

String

url(optional)

String

message (optional)

String